package ar.edu.caece.compiler.grammar.nonterminals;

import ar.edu.caece.compiler.grammar.NonTerminalSymbol;
import ar.edu.caece.compiler.grammar.terminals.NEnteroToken;

public class VALOR2 extends NonTerminalSymbol implements VALOR {

	private NEnteroToken nEnteroToken;

	
	public VALOR2(NEnteroToken nEnteroToken) {
		super();
		this.nEnteroToken = nEnteroToken;
	}

	@Override
	public String getRepresentation() {
		return "[VALOR2 "+this.getAttribute("sample")+"-> "+nEnteroToken.getRepresentation()+"}";
	}

	public NEnteroToken getnEnteroToken() {
		return nEnteroToken;
	}

}
